﻿$controls/header()$ $controls/navigation()$
<table cellspacing="0" cellpadding="0" width="100%">
    <tr>
        <td width="180" valign="top">
            $controls/drawer()$</td>
        <td width="5">
        </td>
        <td valign="top">
            $controls/tableheader( Caption="基本信息", ElementId="editor" )$
            <table cellpadding="10" cellspacing="0" class="inner">
                <tr>
                    <td width="150" valign="top">
                        <div class="panel_a">
                            <ul>
                                <li>
                                    <div class="name">
                                        <div>
                                            <img src="$Member.Avatar$" onerror='this.src="avatars/no.gif";' /></div>
                                        <div>
                                            <p>
                                                <a href="{url:profile.aspx?uid=$Member.UID$}">$Member.Username$</a></p>
                                            <p class="small t2">
                                                UID ：$Member.UID$</p>
                                        </div>
                                    </div>
                                </li>
                                <li>&nbsp;</li>
                                <li>
                                    <img src='$Member.Visualization$' onerror='this.src="uploadfaces/no.gif";' onload='if(this.height>150)this.height=150; if(this.width>135)this.width=135' /></li>
                            </ul>
                        </div>
                    </td>
                    <td width="150" valign="top">
                        <div class="panel_a">
                            <ul>
                                <li>等级：&nbsp;<img src="{IMGDIR}/level/$Member.Level.Star$.gif" alt="等级:$Member.Level.Name$" /></li>
                                <li>组别：&nbsp;$Member.Group.Name$</li>
                                $Member.Credits:{c| $if(c.Enabled)$
                                <li>$c.Name$：&nbsp;<span class="small">$c.Value$ $c.Unit$</span></li>
                                $endif$ }$
                            </ul>
                        </div>
                    </td>
                    <td valign="top">
                        <div class="panel_a">
                            <ul>
                                <li>注&nbsp;册&nbsp;&nbsp;IP：&nbsp;<span class="small"> $Member.JoinIp$ </span></li>
                                <li>注册日期：&nbsp;<span class="small">$Member.JoinTime$</span></li>
                                <li>最&nbsp;后&nbsp;&nbsp;IP：&nbsp<span class="small"> $Member.LastIp$</span></li>
                                <li>最后登录：&nbsp;<span class="small">$Member.LastTime$</span></li>
                            </ul>
                        </div>
                        <table width="100%" style="clear: both" cellspacing="0">
                            <tr class="forumno">
                                <td style="background: url({IMGDIR}/signature.gif) no-repeat left bottom;">
                                    个人签名：</td>
                            </tr>
                            <tr class="forumno">
                                <td>
                                    $Member.ParsedSignature$</td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            $controls/tablefooter()$

            <script src="scripts/ajax.js"></script>

            <script src="scripts/message.js"></script>

            $controls/tableheader( Caption="最新五条短消息", ElementId="message" )$
            <table cellspacing="0" class="inner">
                <tr class="category forumtd" style="text-align: center">
                    <td width="30" align="left">
                        &nbsp;</td>
                    <td align="left">
                        标题</td>
                    <td width="100">
                        发送者</td>
                    <td width="150" align="right">
                        时间</td>
                </tr>
                $Messages:{m|
                <tr class="forumtd" id="row$m.Id$">
                    <td width="30" align="left">
                        $if(m.Readed)$
                        <img id="icon$m.Id$" src="{IMGDIR}/icon/readed.gif" />
                        $else$
                        <img id="icon$m.Id$" src="{IMGDIR}/icon/unread.gif" />
                        $endif$</td>
                    <td align="left">
                        <a href="javascript:read($m.Id$);">$m.Title$</a></td>
                    <td width="100" align="center">
                        <a href="{url:profile.aspx?uid=$m.UID$}">$m.Username$</a></td>
                    <td width="150" align="right" class="small">
                        $m.SendTime$</td>
                </tr>
                }$
            </table>
            $controls/tablefooter()$
        </td>
    </tr>
</table>
$controls/footer()$